#ifndef VIDEOCALLFINISHED_H
#define VIDEOCALLFINISHED_H

#include "./entities/message/superClass/message.h"

class VideoCallFinished : public Message
{
public:
    VideoCallFinished() = delete;

    VideoCallFinished(const UserId& userId);
    VideoCallFinished(const QJsonObject&);
    QJsonObject PackJsonData() const override;
    UserId getUserId() const;
private:
    UserId m_userId;
};

// 编译时注册
Q_DECLARE_METATYPE(VideoCallFinished)

#endif // VIDEOCALLFINISHED_H
